package com.alipay.model.response;

/**
 * @author lwj
 * @create 2025-11-10-0:09
 *
 * 退款响应类
 */
public class RefundResponse extends AlipayBaseResponse{
    /**
     * 支付宝交易号
     */
    private String tradeNo;
    /**
     * 退款金额
     */
    private String refundAmount;
    /**
     * 退款时间
     */
    private String gmtRefundPay;

    public RefundResponse() {}
    public RefundResponse(String tradeNo, String refundAmount, String gmtRefundPay) {
        this.tradeNo = tradeNo;
        this.refundAmount = refundAmount;
        this.gmtRefundPay = gmtRefundPay;
    }
    public RefundResponse(boolean success, String errorCode, String errorMessage, String tradeNo, String refundAmount, String gmtRefundPay) {
        super(success, errorCode, errorMessage);
        this.tradeNo = tradeNo;
        this.refundAmount = refundAmount;
        this.gmtRefundPay = gmtRefundPay;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }

    public String getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(String refundAmount) {
        this.refundAmount = refundAmount;
    }

    public String getGmtRefundPay() {
        return gmtRefundPay;
    }

    public void setGmtRefundPay(String gmtRefundPay) {
        this.gmtRefundPay = gmtRefundPay;
    }
}
